package com.lhh.userservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lhh.springcommon.entity.Comment;
import com.lhh.springcommon.entity.vo.CommentVO;
import com.lhh.springcommon.utils.PageQuery;
import org.springframework.stereotype.Service;

/**
 * @author 李厚航
 * @date 2025-03-01 22:02
 */
public interface UserCommentService {

    /**
     * 删除评论
     * @param comment
     * @return
     */
    Boolean delete(Comment comment);

    /**
     * 添加评论
     * @param comment
     * @return
     */
    CommentVO add(Comment comment);

    /**
     * 分页查看视频评论
     * @param comment
     * @return
     */
    Page<CommentVO> queryPageComment(PageQuery<PageQuery<Comment>> comment);
}
